<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		
		*{
			margin:0px;
			padding: 0px;
		}

		.box{
			width: 1204px;
			height: 260px;
			overflow: hidden;
			margin:50px auto;
		}

		ul{
			width: 1230px;
			height: 260px;
			background: red url() 0 0 no-repeat;
		}
		li{
			list-style: none;
			width: 172px;
			height: 260px;
			float: left;
			overflow: hidden;
		}


		
	</style>
	<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
	<script>
		

		$(function () {
			$('li').hover(function() {
				$(this).stop().animate({width:'400px'}, 200).siblings().stop().animate({width:'134px'}, 200)
			}, function() {
				$('li').stop().animate({width:'172px'}, 200)
			});
		})
	</script>
</head>
<body>
	<div class="box">
		<ul>
			<li style="background: url(./1.jpg) center;"></li>
			<li style="background: url(./2.jpg) center;"></li>
			<li style="background: url(./3.jpg) center;"></li>
			<li style="background: url(./4.jpg) center;"></li>
			<li style="background: url(./5.jpg) center;"></li>
			<li style="background: url(./6.jpg) center;"></li>
			<li style="background: url(./7.jpg) center;"></li>
		</ul>
	</div>
	
</body>
</html>